import serial
import  os

os.system('ls /dev/tty[a-zA-Z]*')
ser = serial.Serial(port='/dev/ttyS1', baudrate=115200, timeout=1)
if ser.isOpen():
    print(ser.name, 'Open Successed!')
else:
    print('Open Failed!')